//
//  MapDirectionsViewController.h
//  MapDirections
//
//  Created by KISHIKAWA Katsumi on 09/08/10.
//  Copyright 2009 KISHIKAWA Katsumi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import "UICGDirections.h"
#import "MyAnnotation.h"
#import "MBProgressHUD.h"
#import <sys/utsname.h>
#import "MyAnnotation.h"

@class UICRouteOverlayMapView;

@interface MapDirectionsViewController : UIViewController <MKMapViewDelegate, UICGDirectionsDelegate, MBProgressHUDDelegate>
{
	MKMapView *routeMapView;
	UIBarButtonItem *centerButton;
	UIAlertView *alertView;
	UICRouteOverlayMapView *routeOverlayView;
	UICGDirections *diretions;
	
	MBProgressHUD *HUD;
	
	MyAnnotation *endPoint;
	BOOL state;
	int n;
}

- (id)initWithEndPoint:(MyAnnotation *)point;

- (void)setSearchingModeEnabled:(BOOL)isSearching;
- (void)moveToUserLocation;
- (void)update;


@end